home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
comp_lan
/
85_febr
/
argend.h
< prev
next >
Wrap
Text File
|
1988-07-25
|
1KB
|
39 lines
/* argend.h: @(#) End sandwichbegun with argbegin.h, see argparse.h */
/* by Alexander B. Abacus */
default:
fprintf
( stderr
, " Stop. Key letter \'%c\' rejected.\n"
, *a0.keyPointer
);
ArgTutor( a0.tutorial );
break;
} /* switch */
} /* if not double trigger */
} /* for all characters in argument */
while ( a0.keyPointer != (char *) 0 );
} /* if key or not a key */
} /* for all arguments */
a0.noOfPositionals = a0.nextPositional - 1;
if
( ( a0.minPositionals >= 0 )
&& ( a0.noOfPositionals < a0.minPositionals )
)
{ /* if(too few positionals) */
fprintf
( stderr
, " Stop. Minimum %d positional arguments, %d supplied.\n"
, a0.minPositionals
, a0.noOfPositionals
);
ArgTutor( a0.tutorial );
} /* if(too few positionals) */
(* a0.ptrArgCount) = a0.noOfPositionals;
} /* End block begun with argbegin.h */
/* argend.h: End of file. */